package com.huan.vertxle.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @author huan
 */
@Data
@ToString
public class ScanCode {
  private Long id;
  private String code;
  private String weight;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String date;
  @JsonProperty(value = "workConsole")
  private String workConsole;
}
